import {requestAll} from "../http.js"
module.exports={//(url,params={},contenType="",method="")
	getQuestionsClassify(params){
		return requestAll('/questions_classify/list', params,"GET")
	},
	getQuestionsClassifydetails(params) {
		return requestAll('/questions_classify/info', params,"GET")
	},
	getQuestionsLevel(params){
		return requestAll('/questions_level/list', params,"GET")
	},
	getQuestions(params) {
		return requestAll('/questions/list', params,"GET")
	},
	getdetails(params) {
		return requestAll('/questions/details', params,"GET")
	},
	submit(params){
		return requestAll('/questions/submit', params,"POST")
	},
	//用户答题记录
	getQuestionsuser(params) {
		return requestAll('/questions_user/list', params,"GET")
	},
	getquestionsuserdetails(params){
		return requestAll('/questions_user/details', params,"GET")
	},
	getstatistics(params){  // 统计
		return requestAll('/questions_user/statistics', params,"GET")
	},
	getranking(params){   //排名榜
		return requestAll('/questions_user/ranking', params,"GET")
	},
	getrankinginfo(params){
		return requestAll('/questions_user/rankinginfo', params,"GET")
	},
	//模拟考试
	getexamlist(params){
		return requestAll('/questions/examlist', params,"GET")
	},
	
}
